package cn.jiyun.entity;

public class Student {
    private Integer sid;
    private  String sname;
    private Integer cid;
    private  Integer mid;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", cid=" + cid +
                ", mid=" + mid +
                '}';
    }

    public Student(Integer sid, String sname, Integer cid, Integer mid) {
        this.sid = sid;
        this.sname = sname;
        this.cid = cid;
        this.mid = mid;
    }
    public Student(){}
}
